import Vue from 'vue'
import App from './App.vue'
import _ from 'lodash'
import router from './router'
import store from './store'
import Vant from 'vant'
Vue.config.productionTip = false
Vue.prototype._ = _;
import { Lazyload } from 'vant';
Vue.use(Lazyload);
import { Sticky } from 'vant';
Vue.use(Sticky);
import 'vant/lib/index.css'
Vue.use(Vant)
import { Cell, CellGroup } from 'vant';
import moment from 'moment'
Vue.use(Cell);
Vue.use(CellGroup);
import { Notify } from 'vant';
// 全局注册
Vue.use(Notify);
import { Toast } from 'vant';

Vue.use(Toast);
Vue.filter('fmtTime', function (value, formatString) {
  undefined
  formatString = formatString || 'YYYY-MM-DD HH:mm:ss';
  return moment(value).format(formatString);

});
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
